package com.zbkj.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 门店、仓科调货单详情
 * </p>
 *
 * @author keNan
 * @since 2025-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_transfer_order_details")
@ApiModel(value = "TransferOrderDetails对象", description = "门店、仓科调货单详情")
public class TransferOrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "门店、仓库调货单id->eb_transfer_order表的主键id")
    private Integer transferOrderId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品图片")
    private String image;

    @ApiModelProperty(value = "商品规格")
    private String sku;

    @ApiModelProperty(value = "商品条码")
    private String itemNumber;

    @ApiModelProperty(value = "商品编号")
    private String barCode;

    @ApiModelProperty(value = "单位名")
    private String unitName;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "转出门店id")
    private Integer transferOutStoreId;

    @ApiModelProperty(value = "转出门店名称")
    private String transferOutStore;

    @ApiModelProperty(value = "转出门店当时的sku库存数")
    private Integer transferOutStoreThenStock;

    @ApiModelProperty(value = "转出数量")
    private Integer transferOutNumber;

    @ApiModelProperty(value = "转入门店id")
    private Integer transferInStoreId;

    @ApiModelProperty(value = "转入门店名称")
    private String transferInStore;

    @ApiModelProperty(value = "转入门店当时的sku库存数")
    private Integer transferInStoreThenStock;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
